<div class="box">
  <div class="box-heading"><?php echo $heading_title; ?></div>
  <div class="box-content">
    <div class="box-restaurant">
      <?php foreach ($restaurants as $restaurant) { ?>
      <div>
        <?php if ($restaurant['thumb']) { ?>
        <div class="image"><a href="<?php echo $restaurant['href']; ?>"><img src="<?php echo $restaurant['thumb']; ?>" alt="<?php echo $restaurant['name']; ?>" /></a></div>
        <?php } ?>
        <div class="name"><a href="<?php echo $restaurant['href']; ?>"><?php echo $restaurant['name']; ?></a></div>
        <?php if ($restaurant['price']) { ?>
        <div class="price">
          <?php if (!$restaurant['special']) { ?>
          <?php echo $restaurant['price']; ?>
          <?php } else { ?>
          <span class="price-old"><?php echo $restaurant['price']; ?></span> <span class="price-new"><?php echo $restaurant['special']; ?></span>
          <?php } ?>
        </div>
        <?php } ?>
        <?php if ($restaurant['rating']) { ?>
        <div class="rating"><img src="portal/view/theme/default/image/stars-<?php echo $restaurant['rating']; ?>.png" alt="<?php echo $restaurant['reviews']; ?>" /></div>
        <?php } ?>
        <div class="cart"><a onclick="addToCart('<?php echo $restaurant['restaurant_id']; ?>');" class="button"><span><?php echo $button_cart; ?></span></a></div>
      </div>
      <?php } ?>
    </div>
  </div>
</div>
